<form name="form_admin" method="post" action="<?php echo formAction('updatestatus')?>">
	<table width="100%" border="0" cellpadding="3" cellspacing="1"  id="tblsort">
		<tr class="headtb"  nodrop="true" nodrag="true">
			<td width="5%" ><?php echo _ORDER?></td>
			<td width="25%"><?php echo Name?></td>
			<td width="10%" ><?php echo _STATUS?></td>
			<td width="15%" ><?php echo _ACTIONS?></td>
			<td>&nbsp;</td>
		</tr>
    <?php
    	foreach($tourtypes as $i => $category)
    	{
    	?>
    	<tr>
    		<td align="center">
    			<input class="ordertext"  id="listorder_<?php echo $i?>" name="listorder[]"
    			value="<?php echo getOrderList($i)?>" />
    		</td>
    		<td nowrap="nowrap" style="padding-left:10px" valign="middle">
    			<?php echo linkAction('edit',$category['cName'],'id='.$category['iId'])?>
    			<input type="hidden" name="listid[]" value="<?php echo $category['iId']?>" />
    		</td>
    		<td align="center">
    			<select id="liststatus_<?php echo $i?>" name="liststatus[]">
    				<?php echo liststatus($category["iStatus"]) ?>
    			</select>
    		</td>

    		<td align="center">
    			<?php echo linkAction('edit',_EDIT,'&id='.$category['iId'])?> -
    			<?php echo linkAction('delete',_DELETE,'id='.$category['iId'])?>
            </td>
    		<td></td>
    	</tr>
    <?php
    }
    if(count($tourtypes)==0)
    {
        echo '<tr><td colspan=4 align=center class=red>Not found Category</td></tr>';
    }
    ?>
    </table>
    <?php echo $show_page?>
</form>
<script type="text/javascript">
(new TableDnD).init("tblsort");
</script>
